package com.git.hui.yinshua.api.model.order;

import lombok.Getter;

/**
 * 订单状态
 *
 * @author YiHui
 * @date 2024/6/20
 */
@Getter
public enum OrderStatusEnum {
    INIT(0, "初始状态"),
    TO_PAY(10, "待支付"),
    PT_ING(11, "拼团中"),
    TO_PRINT(15, "待打印"),
    TO_EXPRESS(20, "待发货"),
    TO_SIGN(25, "待签收"),
    SIGNED(30, "已签收"),
    COMPLETED(35, "已完成"),
    REFUND(80, "已退款"),
    CANCELED(100, "已取消");

    private Integer status;
    private String desc;

    OrderStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }
}
